import request from "../utils/request";

export function login(data) {
  return request({
    url: "/api/login",
    method: "post",
    data: data
  });
}

export function getProfile() {
  return request({
    url: "/api/student/profile",
    method: "get"
  });
}

export function getLearnPlan() {
  return request({
    url: "/api/student/learn-plan",
    method: "get"
  });
}
